package com.xxg.renrensearch.service;


import com.xxg.renrensearch.domain.query.GetShopListQuery;
import com.xxg.renrensearch.domain.query.SearchShopListQuery;
import com.xxg.renrensearch.domain.result.BaseResult;
import com.xxg.renrensearch.domain.result.GetShopResult;

/**
 * 商户商品接口
 *
 * @author xuxiaogang
 * @date 2021-11-17
 */
public interface ShopService {
    /**
     * 分页查询店铺和3个商品
     *
     * @param query 查询条件
     * @return 结果
     */
    BaseResult<GetShopResult> getShopProduct(GetShopListQuery query);

    /**
     * 根据关键词和地区查询店铺（不含商品）
     *
     * @param searchShopListQuery 查询条件
     * @return 结果
     */
    BaseResult<GetShopResult> getShop(SearchShopListQuery searchShopListQuery);
}
